package com.ruoyi.business.domain;

import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分销奖励请求记录对象 distribution_award_record
 *
 * @author african-loan
 * @date 2022-07-21
 */

@Data
public class DistributionAwardRecord implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 分销奖励触发类型，对应字典枚举:award_event_type
     */

    @Excel(name = "分销奖励触发类型，对应字典枚举:award_event_type")
    private String type;


    /**
     * 被邀请人userId
     */

    @Excel(name = "被邀请人userId")
    private String invitedUserId;


    /**
     * 奖励金基数
     */

    @Excel(name = "奖励金基数")
    private BigDecimal awardAmount;


    /**
     * 请求参数(JSON格式)
     */

    @Excel(name = "请求参数(JSON格式)")
    private String params;


    /**
     * 状态 0-待提交 1-已提交
     */

    @Excel(name = "状态 0-待提交 1-已提交")
    private String state;


    /**
     * 备注
     */

    @Excel(name = "备注")
    private String remark;


    /**
     * 创建者
     */

    @Excel(name = "备注")
    private String createBy;


    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    /**
     * 更新者
     */
    @Excel(name = "更新者")
    private String updateBy;


    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}